Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/34 introduce unit tests for generator #67

Merged
merged 26 commits into from
Nov 18, 2024

Conversation

MobiTikula
Copy link
Collaborator

@MobiTikula MobiTikula commented Nov 13, 2024

Unit tests using Pytest for generator.py and main.py.

Release Notes:

  • Implemented unit tests using Pytest for generator.py and main.py (project code-cov at (96 %).

Closes #34

@MobiTikula MobiTikula added the enhancement New feature or request label Nov 13, 2024
@MobiTikula MobiTikula self-assigned this Nov 13, 2024
@MobiTikula MobiTikula linked an issue Nov 13, 2024 that may be closed by this pull request
Copy link
Collaborator

@miroslavpojer miroslavpojer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • pulled
  • local run
  • unit test run
    Missing tests:
  • action_input: I would cover three static methods by tests to check default values expected by documentation.
  • github_projects: I would propose new issue to implement Integration test - testing current branch code for mining with full features enabled (result can be empty, it depends - it is not exact counting test)

pyproject.toml Outdated Show resolved Hide resolved
tests/test_generator.py Outdated Show resolved Hide resolved
tests/test_generator.py Show resolved Hide resolved
@MobiTikula
Copy link
Collaborator Author

Added suggested Action Inputs tests for testing the default values. Ready for another review.

Copy link
Collaborator

@miroslavpojer miroslavpojer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • pulled
  • code review
  • local run
  • unit test run
  • code coverage check

@MobiTikula MobiTikula merged commit 51b688b into master Nov 18, 2024
4 checks passed
@MobiTikula MobiTikula deleted the feature/34-Introduce-Unit-Tests-For-Generator branch November 18, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce Unit Tests and Code Coverage
2 participants